package com.phil.philreports.asynccelltablesearch.server.service;

import java.io.Serializable;

public class CachedCursor implements Serializable {

	private static final long serialVersionUID = -6158383633791278746L;
	
	private String cursor;
	private int index;
	
	public CachedCursor() {
		this.cursor = "";
		this.index = 0;
	}
	public CachedCursor(int index, String cursor) {
		this.index = index;
		this.cursor = cursor;
	}
	
	public void setCursor(String cursor) {
		this.cursor = cursor;
	}
	public String getCursor() {
		return this.cursor;
	}
	
	public void setIndex(int index) {
		this.index = index;
	}
	public int getIndex() {
		return this.index;
	}
	
}
